package com.cloudlead.common.lang.api;

import com.cloudlead.common.lang.Null;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class RepeatActionResponse extends SimpleActionResponse<Null> {

    /**
     *
     */
    private static final long serialVersionUID = 983763986818268866L;

    public RepeatActionResponse() {
        super();
        this.code = ResponseCode.RESOURCE_NOT_ACCEPTABLE.code();
        this.message = "Request repeat commit.";
    }


    @Override
    public String toString() {
        return "RepeatActionResponse {requestId:" + requestId + ", code:" + code + "}";
    }

}
